/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.PhoneDao;
import com.click.app.model.Person;
import com.click.app.model.Phone;
import com.click.app.service.PhoneManager;
import java.util.List;

/**
 *
 * @author ariel
 */
public class PhoneManagerImpl extends GenericManagerImpl<Phone, Long> implements PhoneManager {

    PhoneDao phoneDao;

    public PhoneManagerImpl(PhoneDao phoneDao) {
        super(phoneDao);
        this.phoneDao = phoneDao;
    }

    public List<Phone> findByPerson(Person person) {
        return phoneDao.findByPerson(person);
    }

}
